﻿import QtQuick 2.0

Item {
    id: unit
    width: 50
    height: 150
    transformOrigin: Item.Bottom
    property alias lineColor: line.color
    RoundImage {
        id: photo
        width: parent.width
        height: width
    }

    Rectangle {
        id: line
        width: 1
        height: parent.height - photo.width/2
        x: photo.width/2
        y: photo.width/2
        z: -1
        color: "green"
    }
}
